package com.example2;

/**
 * @author Yancy
 * @program springioctest
 * @create 2020-09-01
 */
public class Test extends Test02{
  public static void main(String[] args) {
    System.out.println(13565 % 10);
    System.out.println(13569 / 10);
    //
    System.out.println(getNum(-22));
    a("S");
  }
  static int getNum(int n ){
      int x = 0;
      do{
          n /= 10;
          x++;
      }while (n != 0);
      return x;
  }

  static int maxDigit(int n){
      int c = 0,d;
      while (n>0){
          d = n%10;
          if(d>c){
              c = d;
              n /= 10;
          }
      }
      return c;
  }

  public static Test a(String str){
    System.out.println("nih");
    return new Test();
  }
}
